package com.zhijian.medical.entity.vo.request;

import com.alibaba.fastjson.JSONObject;
import com.google.gson.JsonObject;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.constraints.*;

import java.io.Serializable;
import java.util.Date;
import java.util.Map;

/**
 * 诊断-结构化报告 新增or修改vo
 *
 * @author auto
 * @version 1.0
 * @date 2024-11-29 17:36:35
 */
@Data
@Api(tags = "诊断-结构化报告新增or修改vo")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RoutinePatientDiagnoseReportSaveOrUpdateVo implements Serializable {

    private static final long serialVersionUID = -1;

    /**
     * 
     */
    @ApiModelProperty(value = "", hidden = true)
    private Long id;

    /**
     * 病理ID
     */
    @ApiModelProperty(value = "病理ID", hidden = true)
//    @NotNull(message = "病理ID不能为空")
    private Long patientId;

    /**
     * 诊断ID
     */
    @ApiModelProperty("诊断ID")
    @NotNull(message = "诊断ID不能为空")
    private Long diagnoseId;

    /**
     * 报告类型
     */
    @ApiModelProperty("报告类型")
    @NotNull(message = "报告类型不能为空")
    private Byte type;

    /**
     * 是否添加至病理诊断
     */
    @ApiModelProperty("是否添加至病理诊断")
//    @NotNull(message = "是否添加至病理诊断不能为空")
    private Byte isSave;

    /**
     * 报告类容
     */
    @ApiModelProperty("报告类容")
    private JSONObject data;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", hidden = true)
    private Date createTime;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间", hidden = true)
    private Date updateTime;
}